package com.tedu.order.mapper;

import com.tedu.order.pojo.dto.OrderQuery;
import com.tedu.order.pojo.entity.Order;
import com.tedu.order.pojo.vo.OrderVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMapper {
    List<OrderVO> select(OrderQuery query);

    void insert(Order order);

    void delete(Long id);

    void update(Order order);
}
